package hh;

import hh.engine.Context;
import hh.engine.Engine;
import hh.util.CommonUtil;

public class Main {
    public static void main(String[] args) {
        Engine engine = new Engine();
        engine.setContext(Context.create("db.properties"));
        
        engine.setSourceDir(CommonUtil.getClassPath(Main.class)+"/template");
        engine.setOutputDir(CommonUtil.getResourcesPath(Main.class)+"/autogen");
        //        engine.setTemplateFiles("template/entity.jsp");
        engine.setDebugEnable(false);
        
        
        engine.execute();
    }
}

